using System;
using Org.BouncyCastle.Math;
namespace ch.ethz.ssh2.signature
{
	
	/// <summary> RSAPrivateKey.
	/// 
	/// </summary>
	/// <author>  Christian Plattner
	/// </author>
	/// <version>  2.50, 03/15/10
	/// </version>
	public class RSAPrivateKey
	{
		
		virtual public BigInteger D
		{
			get
			{
				return d;
			}
			
		}
		
		virtual public BigInteger E
		{
			get
			{
				return e;
			}
			
		}
		
		virtual public BigInteger N
		{
			get
			{
				return n;
			}
			
		}
		virtual public RSAPublicKey PublicKey
		{
			get
			{
				return new RSAPublicKey(e, n);
			}
			
		}
		
		private BigInteger d;
		
		private BigInteger e;
		
		private BigInteger n;
		
		
		public RSAPrivateKey(BigInteger d, BigInteger e, BigInteger n)
		{
			this.d = d;
			this.e = e;
			this.n = n;
		}
	}
}